package com.mybatis.demo.dao;

import com.mybatis.demo.domain.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface IStudentMapper {
    List<Student> searchAll(Long page,Long size, String studentName);
    int count(String studentName);
    int deleteById(Long studentId);
    int update(Student student);
    int insert(Student student);
}
